//
//  MDReadTests.m
//  MDReadTests
//
//  Created by midoks on 16/4/9.
//  Copyright © 2016年 midoks. All rights reserved.
//

#import <XCTest/XCTest.h>
#import "NSString+textSize.h"

@interface MDReadTests : XCTestCase

@end

@implementation MDReadTests

- (void)setUp {
    [super setUp];
    // Put setup code here. This method is called before the invocation of each test method in the class.
}

- (void)tearDown {
    // Put teardown code here. This method is called after the invocation of each test method in the class.
    [super tearDown];
}

- (void)testExample {
    // This is an example of a functional test case.
    // Use XCTAssert and related functions to verify your tests produce the correct results.
}

- (void)testPerformanceExample {
    // This is an example of a performance test case.
    [self measureBlock:^{
        // Put the code you want to measure the time of here.
    }];
}


- (void)testLineHeight {
    
    CGFloat lineHeight = [@"中文" textSize:[UIFont systemFontOfSize:12.0] size:CGSizeZero].height;
    NSLog(@"testLineHeight:%f", lineHeight);

}

@end
